package com.zbkj.crmeb.store.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("eb_store_order_trans")
@ApiModel(value = "StoreOrderTrans对象")
public class StoreOrderTrans implements Serializable {

  private final static long serialVersionUID = 1L;

  @ApiModelProperty("表ID")
  @TableId(type = IdType.AUTO, value = "id")
  private Long id;

  @ApiModelProperty("商户ID")
  private Integer merId;

  @ApiModelProperty("订单号")
  private String orderId;

  @ApiModelProperty("子订单号集合")
  private String infoId;

  @ApiModelProperty("分账状态0：失败 1：成功")
  private Boolean status;

  @ApiModelProperty("总成本价")
  private BigDecimal totalCostPrice;

  @ApiModelProperty("总运税费")
  private BigDecimal totalTaxPrice;

  @ApiModelProperty("请求流水号")
  private String requestId;

  @ApiModelProperty("请求时间")
  private String requestTime;

  @ApiModelProperty("交易单号")
  private String dealId;

  @ApiModelProperty("扩展字段")
  private String ext1;

  @ApiModelProperty("错误描述")
  private String respMsg;

  @ApiModelProperty("错误明细")
  private String detail;

  @ApiModelProperty("创建时间")
  private String createTime;

  @ApiModelProperty("更新时间")
  private String updateTime;

}
